#works with version 2.4.2

DEFAULT_LEANUX_PREFIX=/usr

pkg_configure(){
	#XXX: still a static lib installed
	./configure	--prefix=${LEANUX_PREFIX}	\
			--disable-static		\
			--with-gnu-ld
}

pkg_compile(){
	make ${MAKE_JOBS}
}

pkg_install(){
	make ${MAKE_JOBS} install
}

files_and_dirs="
lib
lib/libltdl.so.7
lib/libltdl.la
lib/libltdl.so.7.3.0
lib/libltdl.a
lib/libltdl.so
include
include/ltdl.h
include/libltdl
include/libltdl/lt_dlloader.h
include/libltdl/lt_error.h
include/libltdl/lt_system.h
share
share/aclocal
share/aclocal/ltdl.m4
share/aclocal/ltsugar.m4
share/aclocal/ltoptions.m4
share/aclocal/ltversion.m4
share/aclocal/lt~obsolete.m4
share/aclocal/libtool.m4
share/aclocal/argz.m4
share/libtool
share/libtool/config
share/libtool/config/depcomp
share/libtool/config/install-sh
share/libtool/config/missing
share/libtool/config/ltmain.sh
share/libtool/config/config.guess
share/libtool/config/config.sub
share/libtool/config/compile
share/libtool/libltdl
share/libtool/libltdl/Makefile.am
share/libtool/libltdl/aclocal.m4
share/libtool/libltdl/lt__dirent.c
share/libtool/libltdl/lt_error.c
share/libtool/libltdl/argz.c
share/libtool/libltdl/ltdl.h
share/libtool/libltdl/lt__alloc.c
share/libtool/libltdl/lt_dlloader.c
share/libtool/libltdl/slist.c
share/libtool/libltdl/Makefile.in
share/libtool/libltdl/README
share/libtool/libltdl/COPYING.LIB
share/libtool/libltdl/loaders
share/libtool/libltdl/loaders/shl_load.c
share/libtool/libltdl/loaders/dld_link.c
share/libtool/libltdl/loaders/loadlibrary.c
share/libtool/libltdl/loaders/dlopen.c
share/libtool/libltdl/loaders/load_add_on.c
share/libtool/libltdl/loaders/preopen.c
share/libtool/libltdl/loaders/dyld.c
share/libtool/libltdl/lt__strl.c
share/libtool/libltdl/configure.ac
share/libtool/libltdl/configure
share/libtool/libltdl/config-h.in
share/libtool/libltdl/libltdl
share/libtool/libltdl/libltdl/lt__private.h
share/libtool/libltdl/libltdl/lt__strl.h
share/libtool/libltdl/libltdl/lt__dirent.h
share/libtool/libltdl/libltdl/lt__alloc.h
share/libtool/libltdl/libltdl/lt_dlloader.h
share/libtool/libltdl/libltdl/slist.h
share/libtool/libltdl/libltdl/lt_error.h
share/libtool/libltdl/libltdl/lt_system.h
share/libtool/libltdl/libltdl/lt__glibc.h
share/libtool/libltdl/Makefile.inc
share/libtool/libltdl/ltdl.c
share/libtool/libltdl/argz_.h
share/man
share/man/man1
share/man/man1/libtoolize.1
share/man/man1/libtool.1
share/info
share/info/libtool.info-1
share/info/libtool.info-2
share/info/libtool.info
share/info/dir
bin
bin/libtoolize
bin/libtool"
